<?php
$this->breadcrumbs=array(
	'Products'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Product', 'url'=>array('index')),
	array('label'=>'Create Product', 'url'=>array('create')),
	array('label'=>'Update Product', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Product', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Product', 'url'=>array('admin')),
);
?>

<h1>View Product #<?php echo $model->id; ?></h1>

<?php $this->widget('bootstrap.widgets.BootDetailView', array(
	'data'=>$model,
	'attributes'=>array(
//		'id',
		#'category_id',
		array(
			'header'=>'Chuyên mục',
			'label'=>'category_id',
			'type'=>'raw',
			'value'=>$model->category->name,
		),
		'name',
		'name_en',
//		'url_key',
		'last_modified_time',
		'title',
		'title_en',
		'content',
		'content_en',
		'view_count',
		'created_at',
		'price',
		'price_en',
//		'index',
		'promotion_price',
		'promotion_price_en',
	),
)); ?>
